/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package doan.quanlycanbo.portlet.service;

/**
 * <p>
 * This class is a wrapper for {@link dienbienhochamLocalService}.
 * </p>
 *
 * @author    Nguyen Tuan Vinh
 * @see       dienbienhochamLocalService
 * @generated
 */
public class dienbienhochamLocalServiceWrapper
	implements dienbienhochamLocalService {
	public dienbienhochamLocalServiceWrapper(
		dienbienhochamLocalService dienbienhochamLocalService) {
		_dienbienhochamLocalService = dienbienhochamLocalService;
	}

	/**
	* Adds the dienbienhocham to the database. Also notifies the appropriate model listeners.
	*
	* @param dienbienhocham the dienbienhocham to add
	* @return the dienbienhocham that was added
	* @throws SystemException if a system exception occurred
	*/
	public doan.quanlycanbo.portlet.model.dienbienhocham adddienbienhocham(
		doan.quanlycanbo.portlet.model.dienbienhocham dienbienhocham)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.adddienbienhocham(dienbienhocham);
	}

	/**
	* Creates a new dienbienhocham with the primary key. Does not add the dienbienhocham to the database.
	*
	* @param madienbienhh the primary key for the new dienbienhocham
	* @return the new dienbienhocham
	*/
	public doan.quanlycanbo.portlet.model.dienbienhocham createdienbienhocham(
		long madienbienhh) {
		return _dienbienhochamLocalService.createdienbienhocham(madienbienhh);
	}

	/**
	* Deletes the dienbienhocham with the primary key from the database. Also notifies the appropriate model listeners.
	*
	* @param madienbienhh the primary key of the dienbienhocham to delete
	* @throws PortalException if a dienbienhocham with the primary key could not be found
	* @throws SystemException if a system exception occurred
	*/
	public void deletedienbienhocham(long madienbienhh)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		_dienbienhochamLocalService.deletedienbienhocham(madienbienhh);
	}

	/**
	* Deletes the dienbienhocham from the database. Also notifies the appropriate model listeners.
	*
	* @param dienbienhocham the dienbienhocham to delete
	* @throws SystemException if a system exception occurred
	*/
	public void deletedienbienhocham(
		doan.quanlycanbo.portlet.model.dienbienhocham dienbienhocham)
		throws com.liferay.portal.kernel.exception.SystemException {
		_dienbienhochamLocalService.deletedienbienhocham(dienbienhocham);
	}

	/**
	* Performs a dynamic query on the database and returns the matching rows.
	*
	* @param dynamicQuery the dynamic query to search with
	* @return the matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.dynamicQuery(dynamicQuery);
	}

	/**
	* Performs a dynamic query on the database and returns a range of the matching rows.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param dynamicQuery the dynamic query to search with
	* @param start the lower bound of the range of model instances to return
	* @param end the upper bound of the range of model instances to return (not inclusive)
	* @return the range of matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end) throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.dynamicQuery(dynamicQuery, start, end);
	}

	/**
	* Performs a dynamic query on the database and returns an ordered range of the matching rows.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param dynamicQuery the dynamic query to search with
	* @param start the lower bound of the range of model instances to return
	* @param end the upper bound of the range of model instances to return (not inclusive)
	* @param orderByComparator the comparator to order the results by
	* @return the ordered range of matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end,
		com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.dynamicQuery(dynamicQuery, start,
			end, orderByComparator);
	}

	/**
	* Counts the number of rows that match the dynamic query.
	*
	* @param dynamicQuery the dynamic query to search with
	* @return the number of rows that match the dynamic query
	* @throws SystemException if a system exception occurred
	*/
	public long dynamicQueryCount(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.dynamicQueryCount(dynamicQuery);
	}

	/**
	* Gets the dienbienhocham with the primary key.
	*
	* @param madienbienhh the primary key of the dienbienhocham to get
	* @return the dienbienhocham
	* @throws PortalException if a dienbienhocham with the primary key could not be found
	* @throws SystemException if a system exception occurred
	*/
	public doan.quanlycanbo.portlet.model.dienbienhocham getdienbienhocham(
		long madienbienhh)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.getdienbienhocham(madienbienhh);
	}

	/**
	* Gets a range of all the dienbienhochams.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param start the lower bound of the range of dienbienhochams to return
	* @param end the upper bound of the range of dienbienhochams to return (not inclusive)
	* @return the range of dienbienhochams
	* @throws SystemException if a system exception occurred
	*/
	public java.util.List<doan.quanlycanbo.portlet.model.dienbienhocham> getdienbienhochams(
		int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.getdienbienhochams(start, end);
	}

	/**
	* Gets the number of dienbienhochams.
	*
	* @return the number of dienbienhochams
	* @throws SystemException if a system exception occurred
	*/
	public int getdienbienhochamsCount()
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.getdienbienhochamsCount();
	}

	/**
	* Updates the dienbienhocham in the database. Also notifies the appropriate model listeners.
	*
	* @param dienbienhocham the dienbienhocham to update
	* @return the dienbienhocham that was updated
	* @throws SystemException if a system exception occurred
	*/
	public doan.quanlycanbo.portlet.model.dienbienhocham updatedienbienhocham(
		doan.quanlycanbo.portlet.model.dienbienhocham dienbienhocham)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.updatedienbienhocham(dienbienhocham);
	}

	/**
	* Updates the dienbienhocham in the database. Also notifies the appropriate model listeners.
	*
	* @param dienbienhocham the dienbienhocham to update
	* @param merge whether to merge the dienbienhocham with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
	* @return the dienbienhocham that was updated
	* @throws SystemException if a system exception occurred
	*/
	public doan.quanlycanbo.portlet.model.dienbienhocham updatedienbienhocham(
		doan.quanlycanbo.portlet.model.dienbienhocham dienbienhocham,
		boolean merge)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.updatedienbienhocham(dienbienhocham,
			merge);
	}

	public doan.quanlycanbo.portlet.model.dienbienhocham getByPrimaryKey(
		long madbhh)
		throws com.liferay.portal.kernel.exception.SystemException,
			doan.quanlycanbo.portlet.NoSuchdienbienhochamException {
		return _dienbienhochamLocalService.getByPrimaryKey(madbhh);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.dienbienhocham> getAll()
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.getAll();
	}

	public java.util.List<doan.quanlycanbo.portlet.model.dienbienhocham> getByHoso(
		long mahoso) throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.getByHoso(mahoso);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.dienbienhocham> getByHocham(
		long mahocham)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.getByHocham(mahocham);
	}

	public doan.quanlycanbo.portlet.model.dienbienhocham addDBHH(
		doan.quanlycanbo.portlet.model.dienbienhocham dbhh1, long userId)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _dienbienhochamLocalService.addDBHH(dbhh1, userId);
	}

	public doan.quanlycanbo.portlet.model.dienbienhocham updateDBHH(
		long madbhh, long maHocham, java.lang.String chuyennganh, int namphong)
		throws com.liferay.portal.kernel.exception.SystemException,
			doan.quanlycanbo.portlet.NoSuchdienbienhochamException {
		return _dienbienhochamLocalService.updateDBHH(madbhh, maHocham,
			chuyennganh, namphong);
	}

	public void deleteDBHH(long madbhh)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		_dienbienhochamLocalService.deleteDBHH(madbhh);
	}

	public void deleteDBHH(doan.quanlycanbo.portlet.model.dienbienhocham dbhh)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		_dienbienhochamLocalService.deleteDBHH(dbhh);
	}

	public dienbienhochamLocalService getWrappeddienbienhochamLocalService() {
		return _dienbienhochamLocalService;
	}

	private dienbienhochamLocalService _dienbienhochamLocalService;
}